﻿<Window x:Class="FBNotifier.MainAppWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:FBNotifier.Control"
        x:Name="theForm"
        ShowInTaskbar="False"
        WindowStyle="None"
        AllowsTransparency="False" 
        ResizeMode="NoResize"
        Background="Transparent"
        Height="600" 
        Width="300" Initialized="theForm_Initialized">
    <Grid x:Name="uiGridMain">
        <Border Width="Auto" Height="Auto" Style="{StaticResource MainGridBorder}">
        </Border>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="28" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="36" />
                <ColumnDefinition Width="42" />
            </Grid.ColumnDefinitions>
            <local:SlickToggleButton CornerRadius="0,0,0,4" x:Name="PinButton" Style="{StaticResource SlickButton}" HighlightBackground="Blue" PressedBackground="DarkBlue" Grid.Column="1" Grid.Row="0" FontWeight="Bold" Click="PinButton_Click" Height="18" VerticalAlignment="Top">
                <Image x:Name="PinImage" Source="pack://application:,,/Images/Un-Pinned.png" Stretch="None"/>
            </local:SlickToggleButton>
            <local:SlickToggleButton CornerRadius="0,0,4,0" x:Name="CloseButton" Style="{StaticResource SlickButton}" HighlightBackground="Red" Content="X" Click="CloseButton_Click" Grid.Row="0" FontWeight="Bold" Foreground="#FFFFFFFF" Grid.Column="2" Height="18" VerticalAlignment="top"/>
            <Label Content="FBNotifier" Foreground="White" FontWeight="Bold" Grid.Row="0" Grid.Column="0" Margin="0, -2" x:Name="labelTitle"/>
            <TabControl Name="tabControl1" Grid.Row="1" Grid.ColumnSpan="3">
                <TabItem Header="Messages" Name="tabItemMessages">
                    <Grid>
                        <Label Content="No new messages" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Gray" FontStyle="Italic"/>
                        <WebBrowser HorizontalAlignment="Stretch" Name="messagesBrowser" VerticalAlignment="Stretch"/>
                        <!--<WebBrowser HorizontalAlignment="Stretch" Name="messagesBrowser" VerticalAlignment="Stretch" Margin="0,0,0,153" />
                        <Button Content="NewMessage" Height="23" HorizontalAlignment="Left" Margin="46,393,0,0" Name="msgbtn" VerticalAlignment="Top" Width="75" Click="msgbtn_Click" />
                        <Button Content="NewNotify" Height="23" HorizontalAlignment="Left" Margin="142,393,0,0" Name="notifbtn" VerticalAlignment="Top" Width="75" Click="notifbtn_Click" />-->
                    </Grid>
                </TabItem>
                <TabItem Header="Notifications" Name="tabItemNotifications">
                    <Grid>
                        <Label Content="No new notifications" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Gray" FontStyle="Italic"/>
                        <WebBrowser HorizontalAlignment="Stretch" Name="notificationsBrowser" VerticalAlignment="Stretch" />
                    </Grid>
                </TabItem>
            </TabControl>
        </Grid>
    </Grid>
</Window>
